package com.example.sacletextview;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class MainActivity extends Activity {
	private TextView tv1;
	private SacleTextView tv2;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		tv1 = (TextView) findViewById(R.id.tv1);
		tv2 = (SacleTextView) findViewById(R.id.tv2);
	}

	public void doClick1(View v) {
			v.setSelected(true);
			tv2.setSelected(false);
	}

	public void doClick2(View v) {
			v.setSelected(true);
			tv1.setSelected(false);
	}

}
